{%include file="m.index.header.tpl.php"%}
<!--主体部分-->
<form name="myform" method="get" action="">
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;">
              <div class="col-sm-12 distance" >
                       <div class="form-group">
                                <label for="" class="col-sm-2 control-label">教师姓名:</label>
                                <div class="col-sm-10">
                                   <input type="text" class="form-control" name="staff_name" value="{%$staff_name%}">
                                </div>
                       </div>
               
               </div>           
               <div class="col-xs-12 distance hierarchy2">
                     <div class="form-group  text-center" style="padding-top:0px;">
                             <input type="hidden" name="a" value="syllabus.stafflist">
                             <button type="submit" class="btn btn-success absolutely ">搜索</button>
                       </div>    
               </div>
               
               
      </div>   
</form>
     
      <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;" >
	  {%foreach from=$staff_slists key=key item=value%}
         <table class="table table-striped table-bordered text-center"  id="middles" >
            <tr>
            
               <td>教师编号</td>
               <td>{%$value.staff_number%}</td>
            </tr>
            
              <tr>
            
               <td>教师姓名</td>
               <td>{%$value.staff_name%}</td>
            </tr>  
            
             <tr>
            
               <td>任课情况</td>
               <td>
					{%foreach from=$value.syllabus key=k item=v%}
						 
						 学科：{%$k%}，任课班级：{%foreach from=$v.class key=t item=s%}{%$t%} {%/foreach%}，合计课时量：{%$v.hour%}<br/>
						 
					 {%/foreach%}	
			   </td>
            </tr>            
            <tr>
            
               <td>总计课时量</td>
               <td>{%$value.hour_all%}</td>
            </tr>  
        
         </table>
		 {%/foreach%}
      </div>
      
     
</div><!--container  end-->
<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}